package io.renren.modules.sys.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.SysUserEntity;
import io.renren.modules.sys.entity.TiananEntity;
import org.apache.ibatis.annotations.Param;

import java.sql.Date;
import java.util.List;
import java.util.Map;

/**
 * 提案
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2021-03-14 21:48:35
 */
public interface TiananService extends IService<TiananEntity> {

    List<TiananEntity> lists();

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPagefuyi(Map<String, Object> params);

    PageUtils queryPagegongshi(Map<String, Object> params);

    PageUtils queryPagegongshichuli(Map<String, Object> params);

    PageUtils queryPagejilu(Map<String, Object> params);

    PageUtils queryPageqianpi(Map<String, Object> params);

    PageUtils queryPagelianming(Map<String, Object> params);

    PageUtils queryPageyushen(Map<String, Object> params);

    PageUtils queryPagelian(Map<String, Object> params);

    PageUtils queryPagexuanqu(Map<String, Object> params);

    PageUtils queryPagechuli(Map<String, Object> params);

    PageUtils queryPagechulis(Map<String, Object> params);

    PageUtils queryPagebanli(Map<String, Object> params);

    PageUtils queryPageshenpi(Map<String, Object> params);

    TiananEntity getid(String id);

    /**
     * 完结
     *
     * @return
     */
    Float over(String year);

    /**
     * 超时
     *
     * @return
     */
    Float overtime(String year);

    /**
     * 满意度
     *
     * @return
     */
    List<Map<String, String>> manyi(String year);

    /**
     * 类型
     *
     * @return
     */
    List<Map<String, String>> type(String year);

    /**
     * 类别
     *
     * @return
     */
    List<Map<String, String>> types(String year);

    /**
     * 类型
     *
     * @return
     */
    List<Map<String, String>> liantype(String year);

    /**
     * 部门个数
     *
     * @return
     */
    List<Map<String, String>> liandept(String year);

    /**
     * 人员个数
     *
     * @return
     */
    List<Map<String, String>> lianren(String year);


    void updateendtime();

    List<String> listyear();

    List<SysUserEntity> listreuser();

    List<SysUserEntity> listleauser();
}

